Partager via


DocData Constructors

Definition

Overloads

DocData(Object)

Initializes a new DocData object for the given buffer.

DocData(IServiceProvider, String)

Initializes a new instance of DocData from the specified file and sets the site from the specified site.

DocData(Object)

Initializes a new DocData object for the given buffer.

public:
 DocData(System::Object ^ docData);
public:
 DocData(Platform::Object ^ docData);
 DocData(winrt::Windows::Foundation::IInspectable const & docData);
public DocData (object docData);
new Microsoft.VisualStudio.Shell.Design.Serialization.DocData : obj -> Microsoft.VisualStudio.Shell.Design.Serialization.DocData
Public Sub New (docData As Object)

Parameters

docData
Object

The buffer.

Applies to

DocData(IServiceProvider, String)

Initializes a new instance of DocData from the specified file and sets the site from the specified site.

public:
 DocData(IServiceProvider ^ provider, System::String ^ fileName);
public DocData (IServiceProvider provider, string fileName);
new Microsoft.VisualStudio.Shell.Design.Serialization.DocData : IServiceProvider * string -> Microsoft.VisualStudio.Shell.Design.Serialization.DocData
Public Sub New (provider As IServiceProvider, fileName As String)

Parameters

fileName
String

The source file.

Applies to