Share via


PropertyInformation.Type 属性

定义

获取与配置特性相对应的对象的 Type

public:
 property Type ^ Type { Type ^ get(); };
public Type Type { get; }
member this.Type : Type
Public ReadOnly Property Type As Type

属性值

Type 对象的 PropertyInformation

示例

下面的代码示例演示如何使用 Type 属性。 此代码示例是为 PropertyInformation 类提供的一个更大示例的一部分。

// Display the Type property.
Console.WriteLine("Type: {0}", propertyItem.Type);
' Display the Type property.
Console.WriteLine("Type: {0}", propertyItem.Type)

适用于