Adds a custom property to a configuration or model document.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function Add2( _
ByVal FieldName As String, _
ByVal FieldType As Integer, _
ByVal FieldValue As String _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICustomPropertyManager
Dim FieldName As String
Dim FieldType As Integer
Dim FieldValue As String
Dim value As 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 not
Example
See Also
Availability
SolidWorks 2007 FCS, Revision Number 15.0