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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.