DesignerDocDataService.GetFileDocData Method (String, FileAccess, String, Boolean)
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Function GetFileDocData ( _
fileName As String, _
access As FileAccess, _
createTemplate As String, _
addToHostList As Boolean _
) As DocData
public DocData GetFileDocData(
string fileName,
FileAccess access,
string createTemplate,
bool addToHostList
)
public:
DocData^ GetFileDocData(
String^ fileName,
FileAccess access,
String^ createTemplate,
bool addToHostList
)
member GetFileDocData :
fileName:string *
access:FileAccess *
createTemplate:string *
addToHostList:bool -> DocData
public function GetFileDocData(
fileName : String,
access : FileAccess,
createTemplate : String,
addToHostList : boolean
) : DocData
Parameters
- fileName
Type: System.String
- access
Type: System.IO.FileAccess
- createTemplate
Type: System.String
- addToHostList
Type: System.Boolean
Return Value
Type: Microsoft.VisualStudio.Shell.Design.Serialization.DocData
.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.