PropertySet Constructors
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.
Overloads
PropertySet() |
Initializes a new instance of the PropertySet class based on the ID. |
PropertySet(BasePropertySet) |
Initializes a new instance of the PropertySet class based on the specified base property set. |
PropertySet(PropertyDefinitionBase[]) |
Initializes a new instance of the PropertySet class based on the ID and the specified additional properties. |
PropertySet(IEnumerable<PropertyDefinitionBase>) |
Initializes a new instance of the PropertySet class based on the ID and the specified collection of additional properties. |
PropertySet(BasePropertySet, PropertyDefinitionBase[]) |
Initializes a new instance of the PropertySet class with the specified base property set and additional properties. |
PropertySet(BasePropertySet, IEnumerable<PropertyDefinitionBase>) |
Initializes a new instance of the PropertySet class with the specified base property set and collection of additional properties. |
PropertySet()
Initializes a new instance of the PropertySet class based on the ID.
public:
PropertySet();
public PropertySet ();
Public Sub New ()
Applies to
PropertySet(BasePropertySet)
Initializes a new instance of the PropertySet class based on the specified base property set.
public:
PropertySet(Microsoft::Exchange::WebServices::Data::BasePropertySet basePropertySet);
public PropertySet (Microsoft.Exchange.WebServices.Data.BasePropertySet basePropertySet);
Parameters
- basePropertySet
- BasePropertySet
The base property set to base the property set on.
Applies to
PropertySet(PropertyDefinitionBase[])
Initializes a new instance of the PropertySet class based on the ID and the specified additional properties.
public:
PropertySet(... cli::array <Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^> ^ additionalProperties);
public PropertySet (params Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase[] additionalProperties);
Public Sub New (ParamArray additionalProperties As PropertyDefinitionBase())
Parameters
- additionalProperties
- PropertyDefinitionBase[]
The additional properties to include in the property set. Property definitions are available as static members from schema classes (for example, EmailMessageSchema.Subject, AppointmentSchema.Start, ContactSchema.GivenName, and so on).
Applies to
PropertySet(IEnumerable<PropertyDefinitionBase>)
Initializes a new instance of the PropertySet class based on the ID and the specified collection of additional properties.
public:
PropertySet(System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^> ^ additionalProperties);
public PropertySet (System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase> additionalProperties);
Public Sub New (additionalProperties As IEnumerable(Of PropertyDefinitionBase))
Parameters
- additionalProperties
- IEnumerable<PropertyDefinitionBase>
The additional properties to include in the property set. Property definitions are available as static members from schema classes (for example, EmailMessageSchema.Subject, AppointmentSchema.Start, ContactSchema.GivenName, and so on).
Applies to
PropertySet(BasePropertySet, PropertyDefinitionBase[])
Initializes a new instance of the PropertySet class with the specified base property set and additional properties.
public:
PropertySet(Microsoft::Exchange::WebServices::Data::BasePropertySet basePropertySet, ... cli::array <Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^> ^ additionalProperties);
public PropertySet (Microsoft.Exchange.WebServices.Data.BasePropertySet basePropertySet, params Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase[] additionalProperties);
Parameters
- basePropertySet
- BasePropertySet
The base property set to base the property set on.
- additionalProperties
- PropertyDefinitionBase[]
Additional properties to include in the property set.
Remarks
Property definitions are available as static members from schema classes (for example, EmailMessageSchema.Subject, AppointmentSchema.Start, ContactSchema.GivenName, and so on)
Applies to
PropertySet(BasePropertySet, IEnumerable<PropertyDefinitionBase>)
Initializes a new instance of the PropertySet class with the specified base property set and collection of additional properties.
public:
PropertySet(Microsoft::Exchange::WebServices::Data::BasePropertySet basePropertySet, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^> ^ additionalProperties);
public PropertySet (Microsoft.Exchange.WebServices.Data.BasePropertySet basePropertySet, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase> additionalProperties);
Parameters
- basePropertySet
- BasePropertySet
The base property set to base the property set on.
- additionalProperties
- IEnumerable<PropertyDefinitionBase>
Additional properties to include in the property set. Property definitions are available as static members from schema classes (for example, EmailMessageSchema.Subject, AppointmentSchema.Start, ContactSchema.GivenName, and so on.)