Condividi tramite


CopyOriginContext.HasContext Method (ElementGroupPrototype)

Returns true if the elementGroupPrototype's SourceContext has a CopyOriginContext.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Dichiarazione
Public Shared Function HasContext ( _
    elementGroupPrototype As ElementGroupPrototype _
) As Boolean
public static bool HasContext(
    ElementGroupPrototype elementGroupPrototype
)
public:
static bool HasContext(
    ElementGroupPrototype^ elementGroupPrototype
)
static member HasContext : 
        elementGroupPrototype:ElementGroupPrototype -> bool 
public static function HasContext(
    elementGroupPrototype : ElementGroupPrototype
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the elementGroupPrototype's SourceContext has a CopyOriginContext.

.NET Framework Security

See Also

Reference

CopyOriginContext Class

HasContext Overload

Microsoft.VisualStudio.Modeling Namespace