共用方式為


QueryEditResult Structure

Manages the results when there is a request to modify the document, and encapsulates the results of a call to QueryEditFiles.

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

'宣告
<CLSCompliantAttribute(False)> _
Public Structure QueryEditResult
[CLSCompliantAttribute(false)]
public struct QueryEditResult
[CLSCompliantAttribute(false)]
public value class QueryEditResult
[<Sealed>]
[<CLSCompliantAttribute(false)>]
type QueryEditResult =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The QueryEditResult type exposes the following members.

Constructors

  Name Description
Public method QueryEditResult Initializes a new instance of the QueryEditResult structure.

Top

Properties

  Name Description
Public property CanEditFile Gets the document and verifies whether it can be edited.
Public property FileReloaded Gets the document and verifies whether it has been reloaded because of the QueryEditFiles call.
Public property MoreInfo Gets the tagVSQueryEditResultFlags flags, which describe editing attributes for the document.
Public property Result Gets the tagVSQueryEditResult flag, which determines whether the document can be edited.

Top

Methods

  Name Description
Public method Equals Compares the object to another object and verifies whether they are equal. (Overrides ValueType.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Gets the hash code for the object. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Operators

  Name Description
Public operatorStatic member Equality Verifies whether two arguments are equal.
Public operatorStatic member 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.

See Also

Reference

Microsoft.VisualStudio.Modeling.Shell Namespace