Aracılığıyla paylaş


XmlMappedRange.Creator Özellik

Bu uygulamada gösteren bir değeri alır XmlMappedRange Denetim oluşturulduğu.

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
    Get
XlCreator Creator { get; }

Özellik Değeri

Tür: Microsoft.Office.Interop.Excel.XlCreator
Birini XlCreator değerler.

Açıklamalar

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

Örnekler

Aşağıdaki kod örneği Creator belirlemek için özellik olup bir XmlMappedRange oluşturulduğu Microsoft Office Excel. 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ı