Share via


ModelBusReferenceExtensionMethods.IsValidModelReference Method

Extension method that returns whether the model-part of the reference is valid

Namespace:  Microsoft.VisualStudio.Modeling.Integration.Picker
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function IsValidModelReference ( _
    reference As ModelBusReference _
) As Boolean
public static bool IsValidModelReference(
    this ModelBusReference reference
)
[ExtensionAttribute]
public:
static bool IsValidModelReference(
    ModelBusReference^ reference
)
static member IsValidModelReference : 
        reference:ModelBusReference -> bool
public static function IsValidModelReference(
    reference : ModelBusReference
) : boolean

Parameters

Return Value

Type: System.Boolean
If the model part of the reference is valid

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ModelBusReference. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

ModelBusReferenceExtensionMethods Class

Microsoft.VisualStudio.Modeling.Integration.Picker Namespace