Gets or sets the object id of profile2 that supplies the data for the band.
public ObjectId Profile2Id { get; set; }
Public Property Profile2Id As ObjectId Get Set
public:
property ObjectId Profile2Id {
ObjectId get ();
void set (ObjectId value);
}| Exception | Condition |
|---|---|
| ArgumentException | Thrown when the profile ObjectId is invalid or the input profile is contained in the current profile view. |
| InvalidOperationException | Thrown when band doesn't support setting Profile2. |