Editar

Partilhar via


ReflectionPermissionAttribute.TypeInformation Property

Definition

Caution

ReflectionPermissionAttribute.TypeInformation has been deprecated and is not supported.

Caution

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

Caution

This API is now deprecated.

Gets or sets a value that indicates whether reflection on members that are not visible is allowed.

public:
 property bool TypeInformation { bool get(); void set(bool value); };
[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]
public bool TypeInformation { 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>]
member this.TypeInformation : bool with get, set
Public Property TypeInformation As Boolean

Property Value

true if reflection on members that are not visible is allowed; otherwise, false.

Attributes

Remarks

This property is now obsolete. Reflecting on the metadata of members that are not visible no longer requires ReflectionPermission.

Applies to