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 Integer, _
ByVal Name As String _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim Type As Integer
Dim Name As String
Dim value As Boolean
value = instance.IsNameUsed(Type, Name)
|
C# | |
---|
bool IsNameUsed(
int Type,
string Name
) |
C++/CLI | |
---|
bool IsNameUsed(
& int Type,
& 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