Condividi tramite


TemplateBindingExtensions.CreateTemplateBinding Method

Bind the given classifier to given template classifier. If required, add parameter substitutions using CreateSubstitution.

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function CreateTemplateBinding ( _
    classifier As IClassifier, _
    templateClassifier As IClassifier _
) As ITemplateBinding
public static ITemplateBinding CreateTemplateBinding(
    this IClassifier classifier,
    IClassifier templateClassifier
)
[ExtensionAttribute]
public:
static ITemplateBinding^ CreateTemplateBinding(
    IClassifier^ classifier, 
    IClassifier^ templateClassifier
)
static member CreateTemplateBinding : 
        classifier:IClassifier * 
        templateClassifier:IClassifier -> ITemplateBinding
public static function CreateTemplateBinding(
    classifier : IClassifier, 
    templateClassifier : IClassifier
) : ITemplateBinding

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.AuxiliaryConstructs.ITemplateBinding

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IClassifier. 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

TemplateBindingExtensions Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace