DocData Constructor (IServiceProvider^, String^)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
DocData(
	IServiceProvider^ provider,
	String^ fileName
)

Parameters

provider
Type: System::IServiceProvider^

IServiceProvider.

fileName
Type: System::String^

The source file.

This will create the underlying text buffer and will register the buffer in the Running Document Table. Calling Dispose will unregister the buffer.

Return to top
Show: