This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IP > IPropertySet Interface > IPropertySet.SetProperty Method (ArcObjects .NET 10.5 SDK) |
The value of the specified property.
[Visual Basic .NET] Public Sub SetProperty ( _ ByVal Name As String, _ ByVal Value As Object _ )
[C#] public void SetProperty ( string Name, object Value );
[C++]
HRESULT SetProperty(
BSTR Name,
VARIANT Value
);
[C++]
Parameters Name [in] Name is a parameter of type BSTR Value [in] Value is a parameter of type VARIANT
The Name parameter uses XSL Patterns to specify metadata elements. Additional information on XSL can be found in the the IXmlPropertySet documentation.