GmailClientGetFolderByDisplayName Method
Gets a mailbox folder that satisfies the specified display name.
Namespace: DevCase.ThirdParty.Google.GmailAssembly: DevCase.net48.ThirdParty.GoogleServices (in DevCase.net48.ThirdParty.GoogleServices.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public Label GetFolderByDisplayName(
string displayName
)
Public Function GetFolderByDisplayName (
displayName As String
) As Label
Dim instance As GmailClient
Dim displayName As String
Dim returnValue As Label
returnValue = instance.GetFolderByDisplayName(displayName)
public:
Label^ GetFolderByDisplayName(
String^ displayName
)
member GetFolderByDisplayName :
displayName : string -> Label
No code example is currently available or this language may not be supported.
- displayName String
-
The mailbox folder display name.
Label
The resulting
Label that represents the mailbox folder.
This is a code example.
No code example is currently available or this language may not be supported.
Dim client As New GmailClient("C:\GoogleSecrets.json", "yourmail@gmail.com", GmailScopes.ReadOnly Or GmailScopes.Modify Or GmailScopes.Send)
Dim credential As UserCredential = client.Authorize()
Dim folder As Google.Apis.Gmail.v1.Data.Label = client.GetFolderByDisplayName("Inbox")
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
InvalidOperationException
|
|