Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ClassRecord.HasMember(String) Method

Definition

Namespace:
System.Formats.Nrbf
Assembly:
System.Formats.Nrbf.dll
Package:
System.Formats.Nrbf v11.0.0-preview.5.26302.115
Source:
ClassRecord.cs
Source:
ClassRecord.cs
Source:
ClassRecord.cs
Source:
ClassRecord.cs
Source:
ClassRecord.cs

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 the member with the 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 the member was present, otherwise false.

Remarks

It's recommended to use this method when dealing with payload that might contain different versions of the same type.

Applies to


Feedback

Was this page helpful?