ClientRuntimeContext.CastTo<T>(ClientObject) 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.
public T CastTo<T> (Microsoft.SharePoint.Client.ClientObject obj) where T : Microsoft.SharePoint.Client.ClientObject;
member this.CastTo : Microsoft.SharePoint.Client.ClientObject -> 'T (requires 'T :> Microsoft.SharePoint.Client.ClientObject)
Public Function CastTo(Of T As ClientObject) (obj As ClientObject) As T
Type Parameters
- T
Parameters
- obj
- ClientObject
Returns
T