ModelStore.Element.SetProperty<TProperty> Method
Sets the asked property.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub SetProperty(Of TProperty) ( _
propertyClass As PropertyClass, _
property As TProperty _
)
'Usage
Dim instance As ModelStore..::..Element
Dim propertyClass As PropertyClass
Dim property As TProperty
instance.SetProperty(propertyClass, property)
public void SetProperty<TProperty>(
PropertyClass propertyClass,
TProperty property
)
public:
generic<typename TProperty>
virtual void SetProperty(
PropertyClass^ propertyClass,
TProperty property
) sealed
JScript does not support generic types or methods.
abstract SetProperty :
propertyClass:PropertyClass *
property:'TProperty -> unit
override SetProperty :
propertyClass:PropertyClass *
property:'TProperty -> unit
Type Parameters
- TProperty
Parameters
- propertyClass
Type: Microsoft.Data.Schema.SchemaModel.PropertyClass
The property class
- property
Type: TProperty
The new value for the property
Implements
IModelPropertyContainer.SetProperty<TProperty>(PropertyClass, TProperty)
.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.