Creates the new property named 'name' for the element type. The 'propertyType' parameter specifies the property type and the 'propertyValue' parameter specifies the type of property value.
[Visual Basic 6.0] Function CreateProperty(
ByVal Name As String, _
ByVal propertyType As esriNgPropertyType, _
ByVal propertyValue As esriNgValueType, _
[ByVal effect As esriNgDirectPropertyEffect] _
) As INgProperty
[Visual Basic .NET] Public Function CreateProperty ( _ ByVal Name As String, _ ByVal propertyType As esriNgPropertyType, _ ByVal propertyValue As esriNgValueType, _ [ByVal effect As esriNgDirectPropertyEffect] _ ) As INgProperty
[C#] public INgProperty CreateProperty ( string Name, esriNgPropertyType propertyType, esriNgValueType propertyValue, esriNgDirectPropertyEffect effect );
[Java] public INgProperty createProperty ( String Name, esriNgPropertyType propertyType, esriNgValueType propertyValue, esriNgDirectPropertyEffect effect ) throws IOException, AutomationException
[C++] HRESULT CreateProperty( BSTR Name, esriNgPropertyType propertyType, esriNgValueType propertyValue, esriNgDirectPropertyEffect effect, INgProperty** pVal );
Parameters
Name [in]
Name is a parameter of type BSTR
propertyType [in]
propertyType is a parameter of type esriNgPropertyType
propertyValue [in]
propertyValue is a parameter of type esriNgValueType
effect [in, optional, defaultvalue(1021)]
effect is a parameter of type esriNgDirectPropertyEffect
pVal [out, retval]
pVal is a parameter of type INgProperty
If the property is a direct property, the default graphic effect associated with the property is esriNgDirectPropertySymbolName.
INgElementType Interface | INgBoundedProperty.AddFilter Method | INgDiscreteProperty.AddFilter Method