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
'宣言
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
- elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
The elementGroupPrototype to inspect.
Return Value
Type: System.Boolean
True if the elementGroupPrototype's SourceContext has a CopyOriginContext.
.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.