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
'宣言
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
)
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.