LocalizableProperties.GetProperties Method (array<Attribute )
Returns the properties for selected object using the attribute array as a filter.
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 GetProperties ( _
attributes As Attribute() _
) As PropertyDescriptorCollection
‘사용 방법
Dim instance As LocalizableProperties
Dim attributes As Attribute()
Dim returnValue As PropertyDescriptorCollection
returnValue = instance.GetProperties(attributes)
public PropertyDescriptorCollection GetProperties(
Attribute[] attributes
)
public:
virtual PropertyDescriptorCollection^ GetProperties(
array<Attribute^>^ attributes
) sealed
abstract GetProperties :
attributes:Attribute[] -> PropertyDescriptorCollection
override GetProperties :
attributes:Attribute[] -> PropertyDescriptorCollection
public final function GetProperties(
attributes : Attribute[]
) : PropertyDescriptorCollection
Parameters
- attributes
Type: array<System.Attribute[]
An array of type Attribute to use as a filter.
Return Value
Type: System.ComponentModel.PropertyDescriptorCollection
Returns a PropertyDescriptorCollection.
Implements
ICustomTypeDescriptor.GetProperties(array<Attribute[])
.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.