Edit

Share via


GroupMember Constructors

Definition

Overloads

GroupMember()

Initializes a new instance of the GroupMember class.

GroupMember(EmailAddress)

Initializes a new instance of the GroupMember class from the specified e-mail address.

GroupMember(ItemId)

Initializes a new instance of the GroupMember class.

GroupMember(String)

nitializes a new instance of the GroupMember class that has the specified e-mail address.

GroupMember(Contact, EmailAddressKey)

Initializes a new instance of the GroupMember class from a Contact instance that is indexed by the specified e-mail address.

GroupMember(ItemId, String)

Initializes a new instance of the GroupMember class from the specified identifier.

GroupMember(String, MailboxType)

Initializes a new instance of the GroupMember class that has the specified address.

GroupMember(String, String)

Initializes a new instance of the GroupMember class that has the specified name and e-mail address.

GroupMember(String, String, MailboxType)

Initializes a new instance of the GroupMember class that has the specified address, routing, and mailbox type.

GroupMember(String, String, String)

Initializes a new instance of the GroupMember class with the specified name, e-mail address, and routing type.

GroupMember()

Initializes a new instance of the GroupMember class.

public:
 GroupMember();
public GroupMember ();
Public Sub New ()

Applies to

GroupMember(EmailAddress)

Initializes a new instance of the GroupMember class from the specified e-mail address.

public:
 GroupMember(Microsoft::Exchange::WebServices::Data::EmailAddress ^ addressInformation);
public GroupMember (Microsoft.Exchange.WebServices.Data.EmailAddress addressInformation);
Public Sub New (addressInformation As EmailAddress)

Parameters

addressInformation
EmailAddress

The e-mail address of the member.

Applies to

GroupMember(ItemId)

Initializes a new instance of the GroupMember class.

public:
 GroupMember(Microsoft::Exchange::WebServices::Data::ItemId ^ contactGroupId);
public GroupMember (Microsoft.Exchange.WebServices.Data.ItemId contactGroupId);
Public Sub New (contactGroupId As ItemId)

Parameters

contactGroupId
ItemId

The identifier of the contact group to link the member to.

Applies to

GroupMember(String)

nitializes a new instance of the GroupMember class that has the specified e-mail address.

public:
 GroupMember(System::String ^ smtpAddress);
public GroupMember (string smtpAddress);
Public Sub New (smtpAddress As String)

Parameters

smtpAddress
String

The SMTP e-mail address of the member.

Applies to

GroupMember(Contact, EmailAddressKey)

Initializes a new instance of the GroupMember class from a Contact instance that is indexed by the specified e-mail address.

public:
 GroupMember(Microsoft::Exchange::WebServices::Data::Contact ^ contact, Microsoft::Exchange::WebServices::Data::EmailAddressKey emailAddressKey);
public GroupMember (Microsoft.Exchange.WebServices.Data.Contact contact, Microsoft.Exchange.WebServices.Data.EmailAddressKey emailAddressKey);

Parameters

contact
Contact

The contact to link to.

emailAddressKey
EmailAddressKey

The contact's e-mail address to link to.

Applies to

GroupMember(ItemId, String)

Initializes a new instance of the GroupMember class from the specified identifier.

public:
 GroupMember(Microsoft::Exchange::WebServices::Data::ItemId ^ contactId, System::String ^ addressToLink);
public GroupMember (Microsoft.Exchange.WebServices.Data.ItemId contactId, string addressToLink);
Public Sub New (contactId As ItemId, addressToLink As String)

Parameters

contactId
ItemId

The identifier of the contact member.

addressToLink
String

The e-mail address of the contact.

Applies to

GroupMember(String, MailboxType)

Initializes a new instance of the GroupMember class that has the specified address.

public:
 GroupMember(System::String ^ smtpAddress, Microsoft::Exchange::WebServices::Data::MailboxType mailboxType);
public GroupMember (string smtpAddress, Microsoft.Exchange.WebServices.Data.MailboxType mailboxType);

Parameters

smtpAddress
String

The SMTP address of the member.

mailboxType
MailboxType

One of the MailboxType enumeration values.

Applies to

GroupMember(String, String)

Initializes a new instance of the GroupMember class that has the specified name and e-mail address.

public:
 GroupMember(System::String ^ name, System::String ^ smtpAddress);
public GroupMember (string name, string smtpAddress);
Public Sub New (name As String, smtpAddress As String)

Parameters

name
String

The name of the member.

smtpAddress
String

The SMTP address of the member.

Applies to

GroupMember(String, String, MailboxType)

Initializes a new instance of the GroupMember class that has the specified address, routing, and mailbox type.

public:
 GroupMember(System::String ^ address, System::String ^ routingType, Microsoft::Exchange::WebServices::Data::MailboxType mailboxType);
public GroupMember (string address, string routingType, Microsoft.Exchange.WebServices.Data.MailboxType mailboxType);

Parameters

address
String

The e-mail address of the member.

routingType
String

The routing type of the address.

mailboxType
MailboxType

One of the MailboxType enumeration values.

Applies to

GroupMember(String, String, String)

Initializes a new instance of the GroupMember class with the specified name, e-mail address, and routing type.

public:
 GroupMember(System::String ^ name, System::String ^ address, System::String ^ routingType);
public GroupMember (string name, string address, string routingType);
Public Sub New (name As String, address As String, routingType As String)

Parameters

name
String

The name of the group member.

address
String

The e-mail address of the group member.

routingType
String

The routing type for the e-mail address.

Applies to