次の方法で共有


CopyOriginContext.HasContext Method (Transaction)

Returns true if the transaction's ContextInfo 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 ( _
    transaction As Transaction _
) As Boolean
public static bool HasContext(
    Transaction transaction
)
public:
static bool HasContext(
    Transaction^ transaction
)
static member HasContext : 
        transaction:Transaction -> bool 
public static function HasContext(
    transaction : Transaction
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the transaction's ContextInfo has a CopyOriginContext.

.NET Framework Security

See Also

Reference

CopyOriginContext Class

HasContext Overload

Microsoft.VisualStudio.Modeling Namespace