DocumentLaunch.OpenDocument Method
Namespace: Microsoft.TeamFoundation.OfficeIntegration.Client
Assembly: Microsoft.TeamFoundation.OfficeIntegration.Common (in Microsoft.TeamFoundation.OfficeIntegration.Common.dll)
Syntax
'Declaration
Public Shared Sub OpenDocument ( _
docType As DocumentType, _
documentPath As String _
)
public static void OpenDocument(
DocumentType docType,
string documentPath
)
public:
static void OpenDocument(
DocumentType docType,
String^ documentPath
)
static member OpenDocument :
docType:DocumentType *
documentPath:string -> unit
public static function OpenDocument(
docType : DocumentType,
documentPath : String
)
Parameters
- documentPath
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.