Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
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)
Syntax
'Declaration
Public Sub New ( _
provider As IServiceProvider, _
fileName As String _
)
public DocData(
IServiceProvider provider,
string fileName
)
public:
DocData(
IServiceProvider^ provider,
String^ fileName
)
new :
provider:IServiceProvider *
fileName:string -> DocData
public function DocData(
provider : IServiceProvider,
fileName : String
)
Parameters
provider
Type: System.IServiceProvider
fileName
Type: System.StringThe source file.
Remarks
This will create the underlying text buffer and will register the buffer in the Running Document Table. Calling Dispose will unregister the buffer.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.