Obsolete. Superseded by ICustomPropertyManager::Add3.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function Add2( _
ByVal FieldName As System.String, _
ByVal FieldType As System.Integer, _
ByVal FieldValue As System.String _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICustomPropertyManager
Dim FieldName As System.String
Dim FieldType As System.Integer
Dim FieldValue As System.String
Dim value As System.Integer
value = instance.Add2(FieldName, FieldType, FieldValue) |
Parameters
- FieldName
- Name of custom property
- FieldType
Type of custom property as defined in swCustomInfoType_e
- FieldValue
- Value of custom property
Return Value
- 1 if custom property is added
- 0 if custom property is not added
- -1 if the custom property already exists
See Also
Availability
SOLIDWORKS 2007 FCS, Revision Number 15.0