| Visual Basic | |
|---|---|
Function GetCard( _ ByVal bsExtension As System.String _ ) As IEdmCard5 | |
| C# | |
|---|---|
IEdmCard5 GetCard( System.string bsExtension ) | |
| C++/CLI | |
|---|---|
IEdmCard5^ GetCard( & System.String^ bsExtension ) | |
Parameters
- bsExtension
- Extension of file for which to get a data card; for example, "DWG" or "DOC" or "." to get the data card for this folder
Return Value
IEdmCard5Find Data Cards with Description Variable (C#)
Find Data Cards with Description Variable (VB.NET)
Get Card Control Information (VB.NET)
Get Card Control Information (C#)
Find Data Cards with Description Variable (VB.NET)
Get Card Control Information (VB.NET)
Get Card Control Information (C#)
If you only need the card ID, it is faster to call IEdmfolder5::GetCardID than to call this method.
C++ users not using smart-pointer wrapper functions must release the returned interface, IEdmCard5.
- S_OK: The method successfully executed.
- E_EDM_INVALID_NAME: There is no data card matching the specified extension.
SOLIDWORKS PDM Professional Version 5.2