Share via


DesignerDocDataService.GetChildDocData(String, FileAccess, String) Method

Definition

Gets a DocData with the given name.

public:
 Microsoft::VisualStudio::Shell::Design::Serialization::DocData ^ GetChildDocData(System::String ^ name, System::IO::FileAccess access, System::String ^ createTemplate);
public Microsoft.VisualStudio.Shell.Design.Serialization.DocData GetChildDocData (string name, System.IO.FileAccess access, string createTemplate);
member this.GetChildDocData : string * System.IO.FileAccess * string -> Microsoft.VisualStudio.Shell.Design.Serialization.DocData
Public Function GetChildDocData (name As String, access As FileAccess, createTemplate As String) As DocData

Parameters

name
String

The name of the requested child document.

access
FileAccess

A FileAccess value that describes the access level of the file.

createTemplate
String

The path of a template file to be used in case the named document cannot be retrieved.

Returns

DocData, or null if the file does not exist and createTemplate is null.

Applies to