QueryEditResult Constructor
Initializes a new instance of the QueryEditResult structure.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Public Sub New ( _
result As tagVSQueryEditResult, _
moreInfo As tagVSQueryEditResultFlags _
)
public QueryEditResult(
tagVSQueryEditResult result,
tagVSQueryEditResultFlags moreInfo
)
public:
QueryEditResult(
tagVSQueryEditResult result,
tagVSQueryEditResultFlags moreInfo
)
new :
result:tagVSQueryEditResult *
moreInfo:tagVSQueryEditResultFlags -> QueryEditResult
public function QueryEditResult(
result : tagVSQueryEditResult,
moreInfo : tagVSQueryEditResultFlags
)
Parameters
- result
Type: Microsoft.VisualStudio.Shell.Interop.tagVSQueryEditResult
The 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.tagVSQueryEditResultFlags
The tagVSQueryEditResultFlags flags, which describe editing attributes for the document. These flags are returned when there is a request to modify the document.
.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.