Creates an attribute definition, which is the first step in generating attributes.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Function DefineAttribute( _
ByVal Name As System.String _
) As System.Object |
| Visual Basic (Usage) | |
|---|
Dim instance As ISldWorks
Dim Name As System.String
Dim value As System.Object
value = instance.DefineAttribute(Name) |
| C# | |
|---|
System.object DefineAttribute(
System.string Name
) |
| C++/CLI | |
|---|
System.Object^ DefineAttribute(
& System.String^ Name
) |
Parameters
- Name
Name to give to the attribute definition; the name must be unique and qualified among the attributes defined in the current session (see Remarks)
Return Value
Attribute definition
Example
Remarks
See Also