Checks to see whether the specified name is unique in the FeatureManager design tree and valid to use.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IsNameUsed( _
ByVal Type As System.Integer, _
ByVal Name As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim Type As System.Integer
Dim Name As System.String
Dim value As System.Boolean
value = instance.IsNameUsed(Type, Name) |
C# | |
---|
System.bool IsNameUsed(
System.int Type,
System.string Name
) |
C++/CLI | |
---|
System.bool IsNameUsed(
& System.int Type,
& System.String^ Name
) |
Parameters
- Type
- Type of entity or entities whose names to check as defined by swNameType_e
- Name
- Name of entity
Return Value
True if name is in use (i.e., not valid to use again); false if the name is not in use (i.e., valid to use)
Remarks
See Also
Availability
SolidWorks 2005 FCS, Revision Number 13.0