| Visual Basic | |
|---|---|
Function CreateLabel( _ ByVal bsName As System.String, _ ByVal bsDescription As System.String _ ) As System.Integer | |
| C# | |
|---|---|
System.int CreateLabel( System.string bsName, System.string bsDescription ) | |
| C++/CLI | |
|---|---|
System.int CreateLabel( & System.String^ bsName, & System.String^ bsDescription ) | |
Parameters
- bsName
- Name of the label; maximum of 255 characters
- bsDescription
- Label description to show in the history dialog box; maximum of 2000 characters
Return Value
ID of the file labelUse IEdmVault5::GetObject to get the IEdmLabel5 object for this label.
- S_OK: The method successfully executed.
- S_FALSE: One of the arguments in invalid.
IEdmFile16 Interface
IEdmFile16 Members
IEdmFolder5::CreateLabel Method ()
IEdmEnumeratorVersion5::CreateLabel Method ()
IEdmFile16 Members
IEdmFolder5::CreateLabel Method ()
IEdmEnumeratorVersion5::CreateLabel Method ()
SOLIDWORKS PDM Professional 2019 SP04