Partager 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

'Déclaration
Public ReadOnly Property PrimaryDocData As DocData
    Get
'Utilisation
Dim instance As DesignerDocDataService
Dim value As DocData

value = instance.PrimaryDocData
public DocData PrimaryDocData { get; }
public:
property DocData^ PrimaryDocData {
    DocData^ get ();
}
member PrimaryDocData : DocData
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

DesignerDocDataService Members

Microsoft.VisualStudio.Shell.Design.Serialization Namespace