IModelPropertyContainer.SetProperty<TProperty> Method
Sets the specified property.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Sub SetProperty(Of TProperty) ( _
propertyClass As PropertyClass, _
propertyValue As TProperty _
)
'Usage
Dim instance As IModelPropertyContainer
Dim propertyClass As PropertyClass
Dim propertyValue As TProperty
instance.SetProperty(propertyClass, propertyValue)
void SetProperty<TProperty>(
PropertyClass propertyClass,
TProperty propertyValue
)
generic<typename TProperty>
void SetProperty(
PropertyClass^ propertyClass,
TProperty propertyValue
)
JScript does not support generic types or methods.
abstract SetProperty :
propertyClass:PropertyClass *
propertyValue:'TProperty -> unit
Type Parameters
- TProperty
Parameters
- propertyClass
Type: Microsoft.Data.Schema.SchemaModel.PropertyClass
Specifies the class of the property
- propertyValue
Type: TProperty
Specifies the value to set
.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.
See Also
Reference
IModelPropertyContainer Interface