Initializes a new instance of the QueryEditResult 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 tagVSQueryEditResult, _
moreInfo As tagVSQueryEditResultFlags _
)
'使用
Dim result As tagVSQueryEditResult
Dim moreInfo As tagVSQueryEditResultFlags
Dim instance As New QueryEditResult(result, _
moreInfo)
public QueryEditResult(
tagVSQueryEditResult result,
tagVSQueryEditResultFlags moreInfo
)
public:
QueryEditResult(
tagVSQueryEditResult result,
tagVSQueryEditResultFlags moreInfo
)
public function QueryEditResult(
result : tagVSQueryEditResult,
moreInfo : tagVSQueryEditResultFlags
)
Parameters
result
Type: Microsoft.VisualStudio.Shell.Interop.tagVSQueryEditResultThe tagVSQueryEditResult flag, which determines whether the document can be edited. This flag is returned when there is a request to modify the document.
moreInfo
Type: Microsoft.VisualStudio.Shell.Interop.tagVSQueryEditResultFlagsThe tagVSQueryEditResultFlags flags, which describe editing attributes for the document. These flags are returned when there is a request to modify 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.