public VCardBuilder Set(
string? text,
Action<ParameterSection>? parameters = null,
Func<VCard, string?>? group = null
)
Public Function Set (
text As String,
Optional parameters As Action(Of ParameterSection) = Nothing,
Optional group As Func(Of VCard, String) = Nothing
) As VCardBuilder
public:
VCardBuilder^ Set(
String^ text,
Action<ParameterSection^>^ parameters = nullptr,
Func<VCard^, String^>^ group = nullptr
)
member Set :
text : string *
?parameters : Action<ParameterSection> *
?group : Func<VCard, string>
(* Defaults:
let _parameters = defaultArg parameters null
let _group = defaultArg group null
*)
-> VCardBuilder
If text represents a Guid, a ContactID instance with this Guid value will be created. If text represents an absolute Uri, a ContactID instance containing a Uri will be created.
The method sets ContactID to an empty ContactIDProperty instance if text is null, or an empty String, or if it consists only of white space.
InvalidOperationException | The method has been called on an instance that had been initialized using the default constructor. |