다음을 통해 공유


DesignerDocDataService.GetSiblingDocData(String, FileAccess, String) Method

Definition

Gets a DocData with the given name.

public:
 Microsoft::VisualStudio::Shell::Design::Serialization::DocData ^ GetSiblingDocData(System::String ^ name, System::IO::FileAccess access, System::String ^ createTemplate);
public Microsoft.VisualStudio.Shell.Design.Serialization.DocData GetSiblingDocData (string name, System.IO.FileAccess access, string createTemplate);
member this.GetSiblingDocData : string * System.IO.FileAccess * string -> Microsoft.VisualStudio.Shell.Design.Serialization.DocData
Public Function GetSiblingDocData (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

Microsoft.VisualStudio.EnterpriseTools.Shell.DocData, or null if the file does not exist and createTemplate is null.

Applies to