Namespace: FacebookWrapper.ObjectModel
Assembly: FbGraphApiWrapper (in FbGraphApiWrapper.dll) Version: 6.2.1.2 (6.2.1.2)
Syntax
C# |
---|
public Event CreateEvent( string i_Name, DateTime i_StartTime, Nullable<DateTime> i_EndTime = null, string i_Description = null, string i_Location = null, Nullable<Event..::..ePrivacy> i_PrivacyType = null, string i_PlaceID = null ) |
Visual Basic |
---|
Public Function CreateEvent ( _ i_Name As String, _ i_StartTime As DateTime, _ Optional i_EndTime As Nullable(Of DateTime) = Nothing, _ Optional i_Description As String = Nothing, _ Optional i_Location As String = Nothing, _ Optional i_PrivacyType As Nullable(Of Event..::..ePrivacy) = Nothing, _ Optional i_PlaceID As String = Nothing _ ) As Event |
Visual C++ |
---|
public: Event^ CreateEvent( String^ i_Name, DateTime i_StartTime, Nullable<DateTime> i_EndTime = nullptr, String^ i_Description = nullptr, String^ i_Location = nullptr, Nullable<Event..::..ePrivacy> i_PrivacyType = nullptr, String^ i_PlaceID = nullptr ) |
Parameters
- i_Name
- Type: System..::..String
[Missing <param name="i_Name"/> documentation for "M:FacebookWrapper.ObjectModel.User.CreateEvent(System.String,System.DateTime,System.Nullable{System.DateTime},System.String,System.String,System.Nullable{FacebookWrapper.ObjectModel.Event.ePrivacy},System.String)"]
- i_StartTime
- Type: System..::..DateTime
[Missing <param name="i_StartTime"/> documentation for "M:FacebookWrapper.ObjectModel.User.CreateEvent(System.String,System.DateTime,System.Nullable{System.DateTime},System.String,System.String,System.Nullable{FacebookWrapper.ObjectModel.Event.ePrivacy},System.String)"]
- i_EndTime (Optional)
- Type: System..::..Nullable<(Of <(<'DateTime>)>)>
(optional)
- i_Description (Optional)
- Type: System..::..String
(optional)
- i_Location (Optional)
- Type: System..::..String
(optional)privacy type (Open/Closed/Secret) - optional
- i_PrivacyType (Optional)
- Type: System..::..Nullable<(Of <(<'Event..::..ePrivacy>)>)>
[Missing <param name="i_PrivacyType"/> documentation for "M:FacebookWrapper.ObjectModel.User.CreateEvent(System.String,System.DateTime,System.Nullable{System.DateTime},System.String,System.String,System.Nullable{FacebookWrapper.ObjectModel.Event.ePrivacy},System.String)"]
- i_PlaceID (Optional)
- Type: System..::..String
[Missing <param name="i_PlaceID"/> documentation for "M:FacebookWrapper.ObjectModel.User.CreateEvent(System.String,System.DateTime,System.Nullable{System.DateTime},System.String,System.String,System.Nullable{FacebookWrapper.ObjectModel.Event.ePrivacy},System.String)"]
Return Value
The newly created EventobjectRemarks
.NET Framework Security
Permission | Description |
---|---|
create_event |