Udostępnij za pośrednictwem


ContractLock<T>.Contract Property

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Gets the contract whose lifetime is managed by this instance.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)

Syntax

'Declaration
Public ReadOnly Property Contract As T
'Usage
Dim instance As ContractLock 
Dim value As T

value = instance.Contract
public T Contract { get; }
public:
property T Contract {
    T get ();
}
public function get Contract () : T

Property Value

Type: T
The contract whose lifetime is managed by this instance.

See Also

Reference

ContractLock<T> Class

ContractLock<T> Members

Microsoft.VisualStudio.Tools.Applications Namespace