Closes this Label document window.
Namespace:  Microsoft.VisualStudio.TeamFoundation.VersionControl
Assembly:  Microsoft.VisualStudio.TeamFoundation.VersionControl (in Microsoft.VisualStudio.TeamFoundation.VersionControl.dll)
Syntax
'Declaration
Public Function Close ( _
    saveOptions As VersionControlLabelDocumentSaveOptions _
) As Boolean
public bool Close(
    VersionControlLabelDocumentSaveOptions saveOptions
)
public:
bool Close(
    VersionControlLabelDocumentSaveOptions saveOptions
)
member Close : 
        saveOptions:VersionControlLabelDocumentSaveOptions -> bool
public function Close(
    saveOptions : VersionControlLabelDocumentSaveOptions
) : boolean
Parameters
- saveOptions 
 Type: Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlLabelDocumentSaveOptions- Options for how changes should be saved 
Return Value
Type: System.Boolean
True if the label window was successfully closed
.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
VersionControlLabelDocument Class
Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace