Initializes a new instance of the QuerySaveResult structure.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Sub New ( _
result As tagVSQuerySaveResult _
)
'使用
Dim result As tagVSQuerySaveResult
Dim instance As New QuerySaveResult(result)
public QuerySaveResult(
tagVSQuerySaveResult result
)
public:
QuerySaveResult(
tagVSQuerySaveResult result
)
public function QuerySaveResult(
result : tagVSQuerySaveResult
)
Parameters
result
Type: Microsoft.VisualStudio.Shell.Interop.tagVSQuerySaveResultThe tagVSQuerySaveResult flag, which determines whether the document can be saved. The flag is returned when there is a request to save the document.
Permissions
- 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.