DocumentLaunch.CreateDocument Method (DocumentType, String, String, Int32)
Namespace: Microsoft.TeamFoundation.OfficeIntegration.Client
Assembly: Microsoft.TeamFoundation.OfficeIntegration.Common (in Microsoft.TeamFoundation.OfficeIntegration.Common.dll)
Syntax
'Declaration
Public Shared Sub CreateDocument ( _
docType As DocumentType, _
serverUrl As String, _
projectName As String, _
workItemId As Integer _
)
public static void CreateDocument(
DocumentType docType,
string serverUrl,
string projectName,
int workItemId
)
public:
static void CreateDocument(
DocumentType docType,
String^ serverUrl,
String^ projectName,
int workItemId
)
static member CreateDocument :
docType:DocumentType *
serverUrl:string *
projectName:string *
workItemId:int -> unit
public static function CreateDocument(
docType : DocumentType,
serverUrl : String,
projectName : String,
workItemId : int
)
Parameters
- serverUrl
Type: System.String
- projectName
Type: System.String
- workItemId
Type: System.Int32
.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.