LocalizableProperties.GetAttributes Method
Gets a collection of attributes for this component.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'宣告
Public Function GetAttributes As AttributeCollection
'用途
Dim instance As LocalizableProperties
Dim returnValue As AttributeCollection
returnValue = instance.GetAttributes()
public AttributeCollection GetAttributes()
public:
virtual AttributeCollection^ GetAttributes() sealed
abstract GetAttributes : unit -> AttributeCollection
override GetAttributes : unit -> AttributeCollection
public final function GetAttributes() : AttributeCollection
Return Value
Type: System.ComponentModel.AttributeCollection
Returns a collection of attributes.
Implements
ICustomTypeDescriptor.GetAttributes()
Remarks
The attributes provide information about the properties and events for the component.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.