Assumes.Present<T>(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Verifies that a value is not null, and throws Microsoft.Assumes.InternalErrorException about a missing service otherwise.
public:
generic <typename T>
static void Present(T component);
[System.Diagnostics.DebuggerStepThrough]
public static void Present<T> (T component);
[<System.Diagnostics.DebuggerStepThrough>]
static member Present : 'T -> unit
Public Shared Sub Present(Of T) (component As T)
Type Parameters
- T
The interface of the imported part.
Parameters
- component
- T
- Attributes