BaseDocData.SetNewAndUnsaved Method
Sets the property on the node item that specifies whether it is unsaved and new.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Sub SetNewAndUnsaved ( _
unsavedAndNew As Boolean _
)
'Usage
Dim instance As BaseDocData
Dim unsavedAndNew As Boolean
instance.SetNewAndUnsaved(unsavedAndNew)
public void SetNewAndUnsaved(
bool unsavedAndNew
)
public:
void SetNewAndUnsaved(
bool unsavedAndNew
)
public function SetNewAndUnsaved(
unsavedAndNew : boolean
)
member SetNewAndUnsaved :
unsavedAndNew:bool -> unit
Parameters
- unsavedAndNew
Type: System.Boolean
Specifies whether the item is unsaved and new
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace