Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Manages the results when there is a request to save the document, and encapsulates the results of a call to QuerySaveFiles.
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Structure QuerySaveResult
[CLSCompliantAttribute(false)]
public struct QuerySaveResult
[CLSCompliantAttribute(false)]
public value class QuerySaveResult
[<Sealed>]
[<CLSCompliantAttribute(false)>]
type QuerySaveResult = struct end
JScript supports the use of structures, but not the declaration of new ones.
The QuerySaveResult type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
QuerySaveResult | Initializes a new instance of the QuerySaveResult structure. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
CanSaveFile | Gets the document and verifies whether it can be saved. |
![]() |
ForceSaveAs | Gets the document and converts the Save operation to the Save As operation. |
![]() |
Result | Gets the tagVSQuerySaveResult() flag, which determines whether the document can be saved. |
![]() |
UserCanceled | True iff the Save operation was canceled by the user. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Compares the object to another object and verifies whether they are equal. (Overrides ValueType.Equals(Object).) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Gets the hash code for the object. (Overrides ValueType.GetHashCode().) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Operators
Name | Description | |
---|---|---|
![]() ![]() |
Equality | Verifies whether two arguments are equal. |
![]() ![]() |
Inequality | Verifies whether two arguments are unequal. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.