Språk

PropertyInformation.Type Egenskap

Definition

Hämtar objektet Type som motsvarar ett konfigurationsattribut.

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

Egenskapsvärde

Type av PropertyInformation-objektet.

Exempel

Följande kodexempel visar hur du använder egenskapen Type . Det här kodexemplet är en del av ett större exempel för PropertyInformation klassen.

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

Gäller för