.NET Framework Class Library
Selection.CurrentDocument Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > Selection Class > Selection Methods > .NET Framework Class Library |
Retrieves information about the last selected document within any Tree/Grid (not to include native CAD Trees).
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Function CurrentDocument ( _ ByRef docUid As String _ |
C# |
|---|
public ShellResult CurrentDocument( ref string docUid |
Visual C++ |
|---|
public: ShellResult^ CurrentDocument( |
JavaScript |
|---|
function currentDocument(docUid); |
Parameters
docUid
Type: System.String
Output. The unique id of the current document
Return Value
result object to access additional information ("@DOCUMENT_TYPE", "@DOCUMENT_ID", "@DOCUMENT_ID_NOSPACE")
Remarks
In case of multiple selection, the last selected file data is returned
See Also