PropertyValuesExtensionMethodsSetProperty Method (PropertyValues, PropertyValue) |
Adds or updates the specificed property in the property values collection.
Namespace:
MFiles.VAF.Common
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic static PropertyValue SetProperty(
this PropertyValues props,
PropertyValue propVal
)
<ExtensionAttribute>
Public Shared Function SetProperty (
props As PropertyValues,
propVal As PropertyValue
) As PropertyValue
public:
[ExtensionAttribute]
static PropertyValue^ SetProperty(
PropertyValues^ props,
PropertyValue^ propVal
)
Parameters
- props
- Type: PropertyValues
The source property values in which to set the property. - propVal
- Type: PropertyValue
The property value to add to the collection.
Return Value
Type:
PropertyValueThe actual PropertyValue created/added to the propertyValues collection.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
PropertyValues. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also