Aracılığıyla paylaş


XmlMappedRange.Creator Özellik

Bu uygulamada belirten bir değer alır XmlMappedRange denetim oluşturuldu.

Ad alanı:  Microsoft.Office.Tools.Excel
Derleme:  Microsoft.Office.Tools.Excel (Microsoft.Office.Tools.Excel.dll içinde)

Sözdizimi

'Bildirim
ReadOnly Property Creator As XlCreator
XlCreator Creator { get; }

Özellik Değeri

Tür: Microsoft.Office.Interop.Excel.XlCreator
Biri XlCreator değerleri.

Notlar

Çünkü XmlMappedRange denetimi, Microsoft Office Excel'de oluşturulmuş, bu özellik için onaltılık sayı 5843454C eşdeğerdir xcel, dize döndürür.

Örnekler

Aşağıdaki kod örneğinde Creator belirlemek için özellik olup bir XmlMappedRange Microsoft Office Excel'de oluşturulmuş.Bu kod örneği, geçerli çalışma sayfasının içerdiğini varsayar bir XmlMappedRange adlı CustomerLastNameCell.

Private Sub DisplayCreator()
    If Me.CustomerLastNameCell.Creator = Excel.XlCreator.xlCreatorCode Then
        MsgBox("This XmlMappedRange was created in " & _
            "Microsoft Office Excel.")
    Else
        MsgBox("This XmlMappedRange was not created in " & _
            "Microsoft Office Excel.")
    End If
End Sub
private void DisplayCreator()
{
    if (this.CustomerLastNameCell.Creator == Excel.XlCreator.xlCreatorCode)
    {
        MessageBox.Show("This XmlMappedRange was created in " +
            "Microsoft Office Excel.");
    }
    else
    {
        MessageBox.Show("This XmlMappedRange was not created in " +
            "Microsoft Office Excel.");
    }
}

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

XmlMappedRange Arabirim

Microsoft.Office.Tools.Excel Ad Alanı