OrganizationServiceContextInfo.TryGet Method (Type, String, EntitySetInfo)
Applies To: Dynamics CRM 2013
Returns an OrganizationServiceContextInfo from a custom OrganizationServiceContext class and an entity logical name.
Namespace: Microsoft.Xrm.Client.Metadata
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static bool TryGet(
Type contextType,
string entityLogicalName,
out EntitySetInfo entitySetInfo
)
public:
static bool TryGet(
Type^ contextType,
String^ entityLogicalName,
[OutAttribute] EntitySetInfo^% entitySetInfo
)
static member TryGet :
contextType:Type *
entityLogicalName:string *
entitySetInfo:EntitySetInfo byref -> bool
Public Shared Function TryGet (
contextType As Type,
entityLogicalName As String,
<OutAttribute> ByRef entitySetInfo As EntitySetInfo
) As Boolean
Parameters
- contextType
Type: System.Type
- entityLogicalName
Type: System.String
- entitySetInfo
Type: Microsoft.Xrm.Client.Metadata.EntitySetInfo
Return Value
Type: System.Boolean
Type: Boolean
true if there is a return value for the specified parameters; otherwise false.
See Also
TryGet Overload
OrganizationServiceContextInfo Class
Microsoft.Xrm.Client.Metadata Namespace
Return to top