GetProperties 方法 (ITypeDescriptorContext, Object, Attribute[])
Returns a collection of property descriptions for the specified object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Overrides Function GetProperties ( _
context As ITypeDescriptorContext, _
value As Object, _
filter As Attribute() _
) As PropertyDescriptorCollection
用法
Dim instance As LocalizableTypeConverter
Dim context As ITypeDescriptorContext
Dim value As Object
Dim filter As Attribute()
Dim returnValue As PropertyDescriptorCollection
returnValue = instance.GetProperties(context, _
value, filter)
public override PropertyDescriptorCollection GetProperties(
ITypeDescriptorContext context,
Object value,
Attribute[] filter
)
public:
virtual PropertyDescriptorCollection^ GetProperties(
ITypeDescriptorContext^ context,
Object^ value,
array<Attribute^>^ filter
) override
abstract GetProperties :
context:ITypeDescriptorContext *
value:Object *
filter:Attribute[] -> PropertyDescriptorCollection
override GetProperties :
context:ITypeDescriptorContext *
value:Object *
filter:Attribute[] -> PropertyDescriptorCollection
public override function GetProperties(
context : ITypeDescriptorContext,
value : Object,
filter : Attribute[]
) : PropertyDescriptorCollection
参数
- context
类型:System.ComponentModel. . :: . .ITypeDescriptorContext
An ITypeDescriptorContext object that contains the context information. This value is not used.
- value
类型:System. . :: . .Object
The object whose properties to get descriptions for.
- filter
类型:array<System. . :: . .Attribute> [] () [] []
An array of Attribute objects that is used as a filter. This value is not used.
返回值
类型:System.ComponentModel. . :: . .PropertyDescriptorCollection
The collection of property descriptions for the specified object.