ClassRecord.HasMember(String) 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.
Checks if member of given name was present in the payload.
public:
bool HasMember(System::String ^ memberName);
public bool HasMember (string memberName);
member this.HasMember : string -> bool
Public Function HasMember (memberName As String) As Boolean
Parameters
- memberName
- String
The name of the member.
Returns
true
if it was present, otherwise false
.
Remarks
It's recommended to use this method when dealing with payload that may contain different versions of the same type.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.