ReflectionPermissionAttribute.TypeInformation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應