DocData Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- provider
- IServiceProvider
- fileName
- String
The source file.