zoukankan      html  css  js  c++  java
  • Error from MSDN——No1. Roles.Enabled

    1.          错误页面路径:

    l          ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref12/html/P_System_Web_Security_Roles_Enabled.htm

    l          http://msdn2.microsoft.com/en-us/library/system.web.security.roles.enabled.aspx

    2.          页面内容:

     

    Note: This property is new in the .NET Framework version 2.0.

    Gets or sets a value indicating whether role management is enabled for the current Web application.

    Namespace: System.Web.Security
    Assembly: System.Web (in system.web.dll)

    Syntax

    Visual Basic (Declaration)

    Public Shared ReadOnly Property Enabled As Boolean

    Visual Basic (Usage)

    Dim value As Boolean

    value = Roles.Enabled

    C#

    public static bool Enabled { get; }

     

    3.          简要说明:

    从以上所列文档中,无法判断是否Enabled属性是只读,还是既只读,又可写。
    然而,根据Visual Studio 2005提供的Web站点管理工具中可以实现在线启用/关闭角色管理功能,可以判断该属性既可读,也可写。以上错误是由于属性声明代码错误。

  • 相关阅读:
    R的农场 chebnear
    math
    求平面内最近点对
    字符加密 cipher
    CF448C Painting Fence
    CF264B Good Sequences
    洛谷3166 数三角形
    [NOIP2013] 华容道
    [NOIP2013] 货车运输
    [NOIP2013] 积木大赛
  • 原文地址:https://www.cnblogs.com/polaris/p/298420.html
Copyright © 2011-2022 走看看