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.
If the ModelingDocumentHandler is not already set (by the constructor for e.g.), then sets it to the value passed as a parameter. Otherwise, returns false.
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
'Declaration
Public Function TrySetDocumentHandler ( _
documentHandler As ModelingDocumentHandler _
) As Boolean
public bool TrySetDocumentHandler(
ModelingDocumentHandler documentHandler
)
public:
bool TrySetDocumentHandler(
ModelingDocumentHandler^ documentHandler
)
member TrySetDocumentHandler :
documentHandler:ModelingDocumentHandler -> bool
public function TrySetDocumentHandler(
documentHandler : ModelingDocumentHandler
) : boolean
Parameters
- documentHandler
Type: Microsoft.VisualStudio.Modeling.Integration.ModelingDocumentHandler
ModelingDocumentHandler to configure this ModelingAdapter
Return Value
Type: System.Boolean
Bool to indicate if operation was a success
.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.