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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.