共用方式為


DesignerDocDataService.PrimaryDocData Property

Definition

Gets the document data object for the primaryDocData that was passed into either of this service's overloaded constructors DesignerDocDataService(IServiceProvider, IVsHierarchy, UInt32, DocData) or DesignerDocDataService(IServiceProvider, IVsHierarchy, UInt32, Object).

public:
 property Microsoft::VisualStudio::Shell::Design::Serialization::DocData ^ PrimaryDocData { Microsoft::VisualStudio::Shell::Design::Serialization::DocData ^ get(); };
public Microsoft.VisualStudio.Shell.Design.Serialization.DocData PrimaryDocData { get; }
member this.PrimaryDocData : Microsoft.VisualStudio.Shell.Design.Serialization.DocData
Public ReadOnly Property PrimaryDocData As DocData

Property Value

This DocData has its save, checkout and running document table lifetimes linked to all other DocData objects returned by this service. This DocData automatically checks itself when Modify() is called.

Applies to