TransactionContext.Contains Method
Query whether the specified key has been associated with a value in this transaction context
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Public Function Contains ( _
key As Object _
) As Boolean
public bool Contains(
Object key
)
public:
bool Contains(
Object^ key
)
member Contains :
key:Object -> bool
public function Contains(
key : Object
) : boolean
Parameters
- key
Type: System.Object
The key to lookup. Cannot be null.
Return Value
Type: System.Boolean
True if the key is found, else false.
.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.