ModelAnnotation.GetProperty<TProperty> Method
Retrieves a specified property.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function GetProperty(Of TProperty) ( _
propertyClass As ModelPropertyClass _
) As TProperty
public TProperty GetProperty<TProperty>(
ModelPropertyClass propertyClass
)
public:
generic<typename TProperty>
virtual TProperty GetProperty(
ModelPropertyClass^ propertyClass
) sealed
abstract GetProperty :
propertyClass:ModelPropertyClass -> 'TProperty
override GetProperty :
propertyClass:ModelPropertyClass -> 'TProperty
JScript does not support generic types or methods.
Type Parameters
- TProperty
A Type that represents the type of the property.
Parameters
- propertyClass
Type: Microsoft.Data.Schema.SchemaModel.ModelPropertyClass
The ModelPropertyClass for the property value that you want to retrieve.
Return Value
Type: TProperty
The specified property.
.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.