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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)
Syntax
public bool TrySetDocumentHandler(
ModelingDocumentHandler documentHandler
)
public:
bool TrySetDocumentHandler(
ModelingDocumentHandler^ documentHandler
)
member TrySetDocumentHandler :
documentHandler:ModelingDocumentHandler -> bool
Public Function TrySetDocumentHandler (
documentHandler As ModelingDocumentHandler
) As Boolean
Parameters
documentHandler
Type: Microsoft.VisualStudio.Modeling.Integration.ModelingDocumentHandlerModelingDocumentHandler to configure this ModelingAdapter
Return Value
Type: System.Boolean
Bool to indicate if operation was a success
See Also
ModelingAdapter Class
Microsoft.VisualStudio.Modeling.Integration Namespace
Return to top