Share via


DesignerDocDataService.PrimaryDocData Property

Gets the document data object for the primaryDocData that was passed into either of this service's overloaded constructors DesignerDocDataService or DesignerDocDataService.

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

Syntax

'Declaration
Public ReadOnly Property PrimaryDocData As DocData
public DocData PrimaryDocData { get; }
public:
property DocData^ PrimaryDocData {
    DocData^ get ();
}
member PrimaryDocData : DocData with get
function get PrimaryDocData () : DocData

Property Value

Type: Microsoft.VisualStudio.Shell.Design.Serialization.DocData
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.

.NET Framework Security

See Also

Reference

DesignerDocDataService Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace