ReflectionPermissionAttribute.TypeInformation 属性

定义

注意

现已弃用此 API。

注意

ReflectionPermissionAttribute.TypeInformation has been deprecated and is not supported.

注意

This API has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202

注意

not enforced in 2.0+

获取或设置一个值,指示是否允许在不可见的成员上反射。

public:
 property bool TypeInformation { bool get(); void set(bool value); };
[System.Obsolete]
public bool TypeInformation { get; set; }
[System.Obsolete("ReflectionPermissionAttribute.TypeInformation has been deprecated and is not supported.")]
public bool TypeInformation { get; set; }
public bool TypeInformation { get; set; }
[System.Obsolete("This API has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
public bool TypeInformation { get; set; }
[System.Obsolete("not enforced in 2.0+")]
public bool TypeInformation { get; set; }
[<System.Obsolete>]
member this.TypeInformation : bool with get, set
[<System.Obsolete("ReflectionPermissionAttribute.TypeInformation has been deprecated and is not supported.")>]
member this.TypeInformation : bool with get, set
member this.TypeInformation : bool with get, set
[<System.Obsolete("This API has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.TypeInformation : bool with get, set
[<System.Obsolete("not enforced in 2.0+")>]
member this.TypeInformation : bool with get, set
Public Property TypeInformation As Boolean

属性值

Boolean

如果允许在不可见的成员上反射,则为 true;否则为 false

属性

注解

此属性现已过时。 反映不可见的成员的元数据不再需要 ReflectionPermission

适用于